package org.freemarker;

import java.util.List;

import freemarker.template.TemplateMethodModel;
import freemarker.template.TemplateModelException;

public class SqlGetSysdateMethod implements TemplateMethodModel{
	public Object exec( List args ) throws TemplateModelException{
		//得到函数第一个参数,得到的字符串两头会有引号,所以replace
		 System.out.println(args.get(0));
		 return "";
	}
	
}
